<template>
    <div class="w-100" style="height:98%">
        <iframe :src="src" width="100%" height="100%" frameborder="0"></iframe>
    </div>
</template>
<script>
export default {
    data(){
        let bas = process.env.NODE_ENV === "development" ? 'http://test.shanxiup.cn/' : '';
        let id = '';
        try {
            id = JSON.parse(sessionStorage.getItem('userInfo')).deptid
        } catch (error) {
            
        }
        return {
            src:bas + 'pinggu.html?deptid=' + id
        }
    }
}
</script>
